Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNOW-1491028 : Snowflake JDBC Driver 4.2 compliant issue. #1857

Merged

Conversation

sfc-gh-ext-simba-vb
Copy link
Collaborator

@sfc-gh-ext-simba-vb sfc-gh-ext-simba-vb commented Aug 1, 2024

Overview

SNOW-1491028

Pre-review self checklist

  • PR branch is updated with all the changes from master branch
  • The code is correctly formatted (run mvn -P check-style validate)
  • New public API is not unnecessary exposed (run mvn verify and inspect target/japicmp/japicmp.html)
  • The pull request name is prefixed with SNOW-XXXX:
  • Code is in compliance with internal logging requirements

External contributors - please answer these questions before submitting a pull request. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Issue: #NNNN

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am modifying authorization mechanisms
    • I am adding new credentials
    • I am modifying OCSP code
    • I am adding a new dependency or upgrading an existing one
    • I am adding new public/protected component not marked with @SnowflakeJdbcInternalApi (note that public/protected methods/fields in classes marked with this annotation are already internal)
  3. Please describe how your code solves the related issue.

Issue 1016 - https://github.com/snowflakedb/snowflake-sdks-drivers-issues-teamwork/issues/1016

Currently the setHoldability method always throws the exception. According to the docs we should throw the exception only when the given holdability is no supported - in other cases it should be no-op.
Now Driver will throw SnowflakeLoggedFeatureNotSupportedException only when holdability parameter is HOLD_CURSORS_OVER_COMMIT
If the connection is closed or given value is outside of the possible range in the standard, the driver will throw SQLException.

@sfc-gh-ext-simba-vb sfc-gh-ext-simba-vb marked this pull request as ready for review August 6, 2024 19:17
@sfc-gh-ext-simba-vb sfc-gh-ext-simba-vb requested a review from a team as a code owner August 6, 2024 19:17
@sfc-gh-ext-simba-vb
Copy link
Collaborator Author

Hi @sfc-gh-pmotacki @sfc-gh-dprzybysz , A Couple of Jenkins jobs are failing in this PR. Could you please confirm the reason behind this failures.

Thanks.

@sfc-gh-dheyman-1
Copy link
Contributor

Hi @sfc-gh-ext-simba-vb , I checked and it's connected to problem with uploading to GCS, which results in one of our integration tests failure. Not really connected to this issue.

@sfc-gh-ext-simba-vb
Copy link
Collaborator Author

sfc-gh-ext-simba-vb commented Aug 22, 2024 via email

@sfc-gh-ext-simba-vb sfc-gh-ext-simba-vb merged commit 74dbd19 into master Aug 29, 2024
139 of 140 checks passed
@sfc-gh-ext-simba-vb sfc-gh-ext-simba-vb deleted the SNOW-1491028_Snowflake_JDBC_Driver_4.2_compl branch August 29, 2024 23:44
@github-actions github-actions bot locked and limited conversation to collaborators Aug 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants